/*
 * @Author: Orangepi - xcy2001@sina.cn
 * @Date: 2022-01-01 18:13:48
 * @LastEditTime: 2022-01-01 18:23:07
 * @LastEditors: Orangepi - xcy2001@sina.cn
 * @Description:用户注册登录相关api
 * @FilePath: \Uni-appTest\test\src\network\user.api.js
 */
import axios from "./request";

const userLoginPath="/login/login";
const userRegPath="/login/reg";

export const loginHttp=(para)=>{
  // console.log("请求发送中...");
  return axios({
    url:userLoginPath,
    method:"POST",
    data:para
  })
}

export const regHttp=(para)=>{
  // console.log("请求发送中...");
  return axios.post(userRegPath,para);
}
